/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "财务汇总主表",TableName = "cw_djlc_cwzb_view")]
    public partial class cw_djlc_cwzb_view:BaseEntity
    {
        /// <summary>
       ///关键词
       /// </summary>
       [Display(Name ="关键词")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string vehiclekeyword { get; set; }

       /// <summary>
       ///产品_销售关键词
       /// </summary>
       [Display(Name ="产品_销售关键词")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string sale_keyword { get; set; }

       /// <summary>
       ///产品_销售渠道
       /// </summary>
       [Display(Name ="产品_销售渠道")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_salechannel { get; set; }

       /// <summary>
       ///产品_车型种类
       /// </summary>
       [Display(Name ="产品_车型种类")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_vehicletype { get; set; }

       /// <summary>
       ///产品_驱动类型
       /// </summary>
       [Display(Name ="产品_驱动类型")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_drivetype { get; set; }

       /// <summary>
       ///产品_燃料类型
       /// </summary>
       [Display(Name ="产品_燃料类型")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_fuel { get; set; }

       /// <summary>
       ///产品_驾驶室平台
       /// </summary>
       [Display(Name ="产品_驾驶室平台")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_pilothouse { get; set; }

       /// <summary>
       ///整车头物料号
       /// </summary>
       [Display(Name ="整车头物料号")]
       [MaxLength(36)]
       [Column(TypeName="varchar(36)")]
       [Editable(true)]
       public string materialnum { get; set; }

       /// <summary>
       ///BOM材料成本
       /// </summary>
       [Display(Name ="BOM材料成本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? totalprice { get; set; }

       /// <summary>
       ///降幅金额
       /// </summary>
       [Display(Name ="降幅金额")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? decreasePrice { get; set; }

       /// <summary>
       ///返利金额
       /// </summary>
       [Display(Name ="返利金额")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? rabatePrice { get; set; }

       /// <summary>
       ///单车降本
       /// </summary>
       [Display(Name ="单车降本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? dcjb { get; set; }

       /// <summary>
       ///降本率
       /// </summary>
       [Display(Name ="降本率")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? jbl { get; set; }

       /// <summary>
       ///降本后材料成本
       /// </summary>
       [Display(Name ="降本后材料成本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? jbhclcb { get; set; }

       /// <summary>
       ///直接人工
       /// </summary>
       [Display(Name ="直接人工")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? artificial { get; set; }

       /// <summary>
       ///定价流程主表UUID
       /// </summary>
       [Key]
       [Display(Name ="定价流程主表UUID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid cw_djlc_djzb_id { get; set; }

       /// <summary>
       ///财务变动取值主表UUID
       /// </summary>
       [Display(Name ="财务变动取值主表UUID")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? cw_djlc_cwzb_id { get; set; }

       /// <summary>
       ///变动动力费
       /// </summary>
       [Display(Name ="变动动力费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? changepowercost { get; set; }

       /// <summary>
       ///变动辅材
       /// </summary>
       [Display(Name ="变动辅材")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? changematerials { get; set; }

       /// <summary>
       ///变动维修及工废
       /// </summary>
       [Display(Name ="变动维修及工废")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? changemaintenance { get; set; }

       /// <summary>
       ///销售提成
       /// </summary>
       [Display(Name ="销售提成")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? salescommission { get; set; }

       /// <summary>
       ///整车物流费
       /// </summary>
       [Display(Name ="整车物流费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? vehiclelogisticsfee { get; set; }

       /// <summary>
       ///三包服务费
       /// </summary>
       [Display(Name ="三包服务费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? sanbaoserviceFee { get; set; }

       /// <summary>
       ///联合通
       /// </summary>
       [Display(Name ="联合通")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? lianhetong { get; set; }

       /// <summary>
       ///气瓶检测
       /// </summary>
       [Display(Name ="气瓶检测")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? air_bottle_testing { get; set; }

       /// <summary>
       ///税金
       /// </summary>
       [Display(Name ="税金")]
       [Column(TypeName="numeric")]
       public decimal? shuijin { get; set; }

       /// <summary>
       ///0边际含税
       /// </summary>
       [Display(Name ="0边际含税")]
       [Column(TypeName="numeric")]
       public decimal? zerobianjihanshui { get; set; }

       /// <summary>
       ///边际率（%）
       /// </summary>
       [Display(Name ="边际率（%）")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? marginalrate { get; set; }

       /// <summary>
       ///边际含税
       /// </summary>
       [Display(Name ="边际含税")]
       [Column(TypeName="numeric")]
       public decimal? bianjihanshui { get; set; }

       /// <summary>
       ///经营底价含税
       /// </summary>
       [Display(Name ="经营底价含税")]
       [Column(TypeName="numeric")]
       public decimal? jydjhanshui { get; set; }

       /// <summary>
       ///建议出厂价
       /// </summary>
       [Display(Name ="建议出厂价")]
       [Column(TypeName="numeric")]
       public decimal? jyccj { get; set; }

       /// <summary>
       ///标准出厂价
       /// </summary>
       [Display(Name ="标准出厂价")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? factoryprice { get; set; }

       /// <summary>
       ///渠道定价规则
       /// </summary>
       [Display(Name ="渠道定价规则")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? cw_djlc_qddjgz_id { get; set; }

       /// <summary>
       ///渠道
       /// </summary>
       [Display(Name ="渠道")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       public string channelname { get; set; }

       /// <summary>
       ///促销
       /// </summary>
       [Display(Name ="促销")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? promotion { get; set; }

       /// <summary>
       ///商务
       /// </summary>
       [Display(Name ="商务")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? businesspercent { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       public int? status { get; set; }

       /// <summary>
       ///BOM编号
       /// </summary>
       [Display(Name ="BOM编号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string bomnumber { get; set; }

       /// <summary>
       ///新BOM编号
       /// </summary>
       [Display(Name ="新BOM编号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string newbomnumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="development_expense")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? development_expense { get; set; }

       
    }
}